﻿@{
    Layout = "~/Views/Samples/Generic/_UploadResult.cshtml";
}

@section newupload
{
                @if (ViewBag.Project.ViewEngine == ViewEngine.Mvc || ViewBag.Project.ViewEngine == ViewEngine.Razor)
                {
                @SampleHelper.BeginForm("settingsForm", "Index", ViewBag.Sample.Path)
                    @SampleHelper.InputFor("MaxFiles", "Hidden")
                    @SampleHelper.InputFor("RequireFileSelection", "Hidden")
                    @SampleHelper.InputFor("AllowInvalidUpload", "Hidden")
                    @SampleHelper.InputFor("ConfirmNavigateMessage", "Hidden")
                    @SampleHelper.InputFor("ValidExtensions", "Hidden")
                    @SampleHelper.InputFor("FileTypeMessage", "Hidden")
                    @SampleHelper.InputFor("MaxFileSize", "Hidden")
                    @SampleHelper.InputFor("FileSizeMessage", "Hidden")
                    @SampleHelper.InputFor("SummaryMessage", "Hidden")
                @SampleHelper.EndForm()
                }
                @SampleHelper.RenderButton("newUploadButton", "button", null, "onclick=\"document.getElementById('settingsForm').submit()\"", null, @<span><b class="icon newupload"></b> New Upload</span>)
}